
public class Result {
	private String output;
	private String typeOfCommand;
	private String warningMessage;
	private boolean isError;
	private boolean warning;
	
	public Result(String output, String typeOfCommand,boolean isError){
		this.output = output;
		this.typeOfCommand = typeOfCommand;
		this.isError = isError;
		this.warning = false;
	}
	public String getOutput() {
		return output;
	}
	public String getTypeOfCommand() {
		return typeOfCommand;
	}
	public boolean isError(){
		return isError;
	}
	public boolean getWarning(){
		return warning;
	}
	public void setWarning(boolean warning){
		this.warning = warning;
	}
	public String getWarningMessage(){
		return warningMessage;
	}
	public void setWarningMessage(String warningMessage){
		this.warningMessage = warningMessage;
	}
	
}
